In this section the system's functional requirements are going to be analysed to establish the Web service's requirements.

The Web service must:
\begin{enumerate}
  \item Be able to handle user's login from the android using nick and password.
  \item Be able to handle user's and administrator's login from the web site using nick and password.
  \item Allow more than one logins for the same user at the same time.
  \item Be able to recognise user sessions after the login.
  
  \item Allow to check if a nick is already being used.
  \item Allow the creation of new users.
  \item Allow the creation of new administrators by other administrators.
  
  \item Allow the clients to get the logged in user's information. 
  \item Allow the clients to change their own information.
  \item Allow the users to get their own or their friends last positions.
  \item Allow an administrator to get any user's positions.
  \item Allow the user to send his own position.  
  
  \item Allow the clients to search for other users in the system.
  
  \item Allow the users to get their own friends list with their information.
  \item Allow the users to make friend requests.
  \item Allow the users to get their own list of friend requests.
  
  \item Allow the administrator to get all the users in the system with their information.
  
  \item Allow the user to send a new note, which can be with or without photo.
  \item Allow the user to request his own or his friend's notes.

  \item Allow an administrator to delete a user.
\end{enumerate}